package org.farm2.main;

import org.farm2.service.event.EventLuceneEmbeddingHandle;
import org.farm2.service.event.EventLuceneIndexHandle;
import lombok.extern.slf4j.Slf4j;
import org.farm2.auth.events.EventLogHandle;
import org.farm2.auth.face.FarmParameter;
import org.farm2.base.event.face.Farm2Events;
import org.farm2.base.event.inter.Farm2EventHandle;
import org.farm2.base.web.Farm2BeanFactory;
import org.farm2.luser.events.EventLoginHandle;
import org.farm2.tools.files.Farm2FileUtils;
import org.farm2.wdap.event.EventWdapHandle;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

import java.io.File;

@SpringBootApplication
@MapperScan("org.farm2")
@ComponentScan(basePackages = {"org.farm2","com.farm2"})
@Slf4j
@EnableAsync
public class AppMain {

    public static void main(String[] args) {
        SpringApplication.run(AppMain.class, args);
    }

}
